package com.tjmc.finance.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tjmc.recruit.common.core.util.R;
import com.tjmc.recruit.finance.api.dto.AccountChangeDTO;
import com.tjmc.recruit.finance.api.entity.PlatformUserAccountEntity;
import com.tjmc.recruit.finance.api.entity.UsageRecordsEntity;

public interface PlatformUserAccountService extends IService<PlatformUserAccountEntity> {
    /**
     * 查询账户信息
     * @param accountId 用户ID
     * @return
     */
    R<PlatformUserAccountEntity> getAccountByAccountId(Long accountId);

    /**
     * 账户数据变更
     * @param accountChangeDTO 变更信息
     * @return
     */
    R<Boolean> changeAccountInfo(AccountChangeDTO accountChangeDTO);
}
